package com.tmall.wireless.virtualviewdemo.utils.imageloader.core.lintener;

import com.tmall.wireless.virtualviewdemo.utils.imageloader.core.assist.FailReason;
import ohos.agp.components.Component;
import ohos.media.image.PixelMap;

public interface ImageLoadingListener {

    void onLoadingStarted(String url, Component component);

    void onLoadingFailed(String url, Component component, FailReason e);

    void onLoadingComplete(String url, Component component, PixelMap pixelMap);

    void onLoadingCancelled(String url, Component component);
}
